package com.bsoft.advance.core.common;

import com.bsoft.advance.core.serialization.SerializationType;
import lombok.Data;

@Data
public class RpcClientProperties {

    /**
     *  负载均衡
     */
    private String balance;

    /**
     *  序列化方式
     */
    private SerializationType serializationType;

    /**
     *  服务发现地址
     */
    private String discoveryAddr = "127.0.0.1:2181";

    /**
     *  服务调用超时
     */
    private Long timeout;

    /**
     * 重试次数
     */
    private int retryTime = 1;
}
